package org.anyin.gitee.shiro.controller;

import org.anyin.gitee.shiro.base.Response;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/home")
public class HomeController {

    @GetMapping
    public Response<String> home(){
        return new Response<>("success");
    }
}
